import App from './App'


// 引入主包依赖
import TencentCloudChat  from "@tencentcloud/chat";
import TUICore from "@tencentcloud/tui-core";
import uView from "uview-ui";
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'

import VueCompositionAPI from "@vue/composition-api";
Vue.use(VueCompositionAPI);
Vue.use(uView);
// 引入公用的js
import $ from '@/assets/js.js'
Vue.prototype.$ = $


const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif

// main.js


import NavCustom from '@/components/nav-custom.vue'
Vue.component('nav-custom',NavCustom)
